<%= form_for [:admin, @metric], :validate => true do |f| %>

  <%= render "shared/error_messages", :target => @metric %>

<table>
  <tbody>
    <tr>
      <th><%= f.label :presentation %></th>
      <td><%= f.text_field :presentation, :maxlength => 15, :size => 15 %></td>
    </tr>
    <tr>
      <th><%= f.label :value %></th>
      <td><%= f.text_field :value, :maxlength => 15, :size => 15 %></td>
    </tr>
    <tr>
      <td colspan="2"><%= f.submit %></td>
    </tr>
  </tbody>
</table>
<% end %>